package com.rndemo.entity;

import android.graphics.Bitmap;

/**
 * 联系人
 */
public class Contacts {
    public String name;
    public String phoneNumber;
    public Bitmap head;

    public Contacts(String name, String phoneNumber, Bitmap head) {
        super();
        this.name = name;
        phoneNumber = phoneNumber.replace("+86", "");
        phoneNumber = phoneNumber.replace(" ", "");
        this.phoneNumber = phoneNumber;
        this.head = head;
    }

    @Override
    public String toString() {
        return phoneNumber;
    }

    @Override
    public int hashCode() {
        return 0;
    }

}
